package com.dy.details.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.dy.details.mapper.ConfirmOrderMapper;
import com.dy.details.service.ConfirmOrderService;
import com.dy.placeOrder.ConfirmOrder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ConfirmOrderServiceImpl extends ServiceImpl<ConfirmOrderMapper, ConfirmOrder> implements ConfirmOrderService {
    @Autowired
    private ConfirmOrderMapper confirmOrderMapper;

        // 新增方法实现
        @Override
        public ConfirmOrder findDetailByOid(Long oid) {
            return confirmOrderMapper.findDetailByOid(oid);
        }
}
